package cn.singno.springBoot.demo.ch06;

public class BeanWayService
{
	public BeanWayService(BeanDao beanDao){
		System.out.println("初始化构造函数-BeanWayService");
		beanDao.save();
	}
	
	public void init(){
		System.out.println("@Bean-init-mothod");
	}
	
	public void destroy(){
		System.out.println("@Bean-destory-mothod");
	}
}
